<script>
import { defineComponent, computed } from 'vue';

export default defineComponent({
  name: 'App'
});
</script>

<template>
  <div id="app">
    <router-view />
  </div>
</template>

<style lang="scss">
@import './assets/scss/index.scss';

#app {
  font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  min-height: 100vh;
  position: relative;
  
  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    color: white;

    :deep(.el-menu-demo) {
      background-color: transparent;
      
      .el-menu-item:hover {
        background-color: transparent;
      }
    }
  }
  
  .global-footer {
    width: 100%;
  }
}

/* 重置基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础布局 - 修复滚动问题但隐藏滚动条 */
html, body {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  
  /* 隐藏滚动条 - Webkit浏览器 */
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  
  /* 隐藏滚动条 - Firefox */
  scrollbar-width: none;
  
  /* 隐藏滚动条 - IE/Edge */
  -ms-overflow-style: none;
}

/* 移除不需要的容器样式 */
.app-container {
  display: none;
}

/* Element Plus 主题色覆盖 */
:root {
  --el-color-primary: #53b7d7;
}
</style>
